<%--
  Created by IntelliJ IDEA.
  User: oooo
  Date: 2018/5/20
  Time: 17:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <title>Title</title>
    </head>
    <body>
        <%
            String userName=request.getParameter("username");
            String password=request.getParameter("password");

            if ("wh714902036".equals(userName)&&"147258369".equals(password)){
                out.write("登录成功");

                session.setAttribute("isLogin","true");

                response.sendRedirect("test02");
            }else{
                out.write("登录失败，用户名或密码错误！");
            }
        %>
    </body>
</html>
